package one.stand.mapper;

import one.stand.model.FinanceModel;
import one.stand.model.FollowRecordModel;

import java.util.List;

/**
 * @author Administrator
 */
public interface FollowRecordMapper {
    int deleteByPrimaryKey(Integer recordId);


    int insertSelective(FollowRecordModel record);

    FollowRecordModel selectByPrimaryKey(Integer recordId);
    FollowRecordModel select(FollowRecordModel model);

    int updateByPrimaryKeySelective(FollowRecordModel record);

    /**
     * 获取跟进记录
     * @param record
     * @return
     */
    List<FollowRecordModel> getFollowList(FollowRecordModel record);

    List<FinanceModel> selectFollowSort(FinanceModel record);

    List<FinanceModel> selectFollowMySort(FinanceModel record);

    List<FinanceModel> selectConsultationMySort(FinanceModel record);

    List<FinanceModel> selectConsultationSort(FinanceModel record);

}